package com.ssm.dao;

import com.ssm.pojo.Good;

import java.util.List;
import java.util.Map;


/**
 * @program: exercise1_online_shopping
 * @author: qin haojun
 * @create: 2021-02-13 18:28
 */
public interface GoodMapper {
    public void updateTotalByName(Good good)throws Exception;

    public void updateTotalById(Good good)throws Exception;

    public Good selectGoodByName(String name)throws Exception;

    public Good selectGoodById(Integer id)throws Exception;

    public List<Good> selectGoodsByKeyWord(String keyWord) throws Exception;

    public List<Good> getGoodList() throws Exception;

    public void getSellCnt(Map<String,Object> map)throws Exception;
}
